function HnlDatePickerObj(dialogInputSelector) {
	this.dialogInputSelector = $(dialogInputSelector);
}

HnlDatePickerObj.prototype.buildDatePicker = function() {
	var objReference = this; // used for inner callback functions
	this.dialogInputSelector.datepicker({
		changeYear : true,
		changeMonth : true,
		yearRange : "-80:+0",
		dateFormat : "mm-dd-yy"
	});
}

HnlDatePickerObj.prototype.buildDatePickerUseImage = function() {
	var objReference = this; // used for inner callback functions
	this.dialogInputSelector.datepicker({
		showOn : "button",
		buttonImage : "images/Calander_icon.jpg",
		buttonImageOnly : true,
		changeYear : true,
		changeMonth : true,
		yearRange : "-80:+0",
		buttonText : "Choose date and year.",
		dateFormat : "mm-dd-yy"
	});
}